package com.cwises.service.system.user;

import java.util.List;

import javax.servlet.http.HttpSession;

import com.cwises.entity.system.user.UserInfoManager;
import com.orm.IBaseEntityOperation;

public interface UserService extends IBaseEntityOperation<UserInfoManager>  {

	int getUserInfoForUpdatePwd(UserInfoManager userInfo);

	boolean delete(String id);

	void deleteBatch(String[] ids);

	void addUserInfoAndData(UserInfoManager userInfo);

	void updateUser(UserInfoManager userInfo);
	
	String validateCode(HttpSession session,String type,String telephone,String code);

	String createIdentifyingCode(HttpSession httpSession, String type,String tel);

	void updatePwd(String id, String newPass);

}
